<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Welcome</title>
 	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/styles/style.css" />
 	<link type="text/css" href="${pageContext.request.contextPath }/scripts/jquery-ui-1.8.16.custom/css/sunny/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
</head>
<body>
		<jsp:include page="/jsp/parts/header.jsp"/>
		
		
	<div id="main" class="ui-widget-content form_pad">
		<jsp:include page="/jsp/parts/choiceBar.jsp"></jsp:include>
		
		
		<div id="content">
			<h1>Registration page</h1>
			<hr/>
			<form name="RegistrationForm" method="post" action="${pageContext.request.contextPath}/controller">
			<input type="hidden" name="command" value="registration"/>
				<table id="tableRegistration">
					<tr>
						<td class="articleRegTable">Login:</td>
						<td><input type="text" name="login" value=""/></td>
					</tr>
					<tr>
						<td class="articleRegTable">First Name: </td>
						<td><input type="text" name="firstName" value=""/></td>
					</tr>
					<tr>
						<td class="articleRegTable">Last Name: </td>
						<td><input type="text" name="lastName" value=""/></td>
					</tr>
					<tr>
						<td class="articleRegTable">Email: </td>
						<td><input type="text" name="email" value=""/></td>
					</tr>
					<tr>
						<td class="articleRegTable">Phone: </td>
						<td><input type="text" name="phone" value=""/></td>
					</tr>
					<tr>
						<td class="articleRegTable">Address: </td>
						<td><input type="text" name="address" value=""/></td>
					</tr>
					<tr>
						<td class="articleRegTable">City: </td>
						<td><input type="text" name="city" value=""/></td>
					</tr>
					<tr>
						<td class="articleRegTable">Country: </td>
						<td><input type="text" name="country" value=""/></td>
					</tr>
					<tr>
						<td class="articleRegTable">Password: </td>
						<td><input type="text" name="firstPassword" value=""/></td>
					</tr>
					<tr>
						<td class="articleRegTable">Repeat Password: </td>
						<td><input type="text" name="secondPassword" value=""/></td>
					</tr>
				</table>
				<input type="submit" value="Enter">
				<br/><h2 id="message">${errorMessage}</h2>
			</form>
			<hr/>
		</div>
	</div>
	
	<jsp:include page="/jsp/parts/footer.jsp"></jsp:include>

</body>
</html>